﻿namespace LHA.Parsing.HTML
{
    using System.Collections.Generic;

    /// <summary>
    /// Class that holds information about attributes, its
    /// - name (like href, title, etc.)
    /// - value (like http:/www.url.com, Click to visit URL.com, etc.)
    /// name="value"
    /// [LHA]: 03/2010 (mailto:lha.dev@gmail.com)
    /// </summary>
    public class AttributeItem
    {
        #region .: props :.

        public string Name { get; set; }
        public string Value { get; set; }

        #endregion

        #region .: ctors :.

        public AttributeItem()
            : this(null, null)
        {
        }

        public AttributeItem(string Name, string Value)
        {
            this.Name = Name;
            this.Value = Value;
        }

        #endregion
    }
}
